﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for IEｍｐloyeeBLL
/// </summary>
public interface IEmployeeBLL
{

    List<Employee> GetAll();

    Employee GetById(Guid id);

    Employee CheckLogin(Employee emp);

    bool InsertOrUpdate(Employee emp);

    bool Delete(Guid id);

    List<Employee> Search(Employee emp);

    bool ActiveAction(Employee emp);

    bool CheckIsCodeExist(string code);

    bool CheckUserIsExist(string user);

    string GetMaxEmpCode();

    bool CheckExistCodeInForeignKey(Guid id);

    bool CheckOldPassWord(Employee emp);

    bool ChangePassword(Employee emp);

    List<Employee> SearchEmplyeeAndTimeTracking(Employee emp, Working work);

    List<Working> GetWorkingByEmployee(Guid employeeID, Working working);


}